Skip to content

Refactor discrete mechanisms to conform to DPMechanism ABC.#20

Merged
copybara-service[bot] merged 1 commit into
mainfrom
cl/932619652
Jun 16, 2026
Merged

Refactor discrete mechanisms to conform to DPMechanism ABC.#20
copybara-service[bot] merged 1 commit into
mainfrom
cl/932619652

Conversation

@copybara-service

Copy link
Copy Markdown

Refactor discrete mechanisms to conform to DPMechanism ABC.

Migrate all Config classes to inherit from DPMechanism, implementing
calibrate(), dp_event property, and call(). Merge standalone
run_mechanism() into call(). Remove seed fields and np.random.seed()
calls.

@copybara-service copybara-service Bot force-pushed the cl/932619652 branch 2 times, most recently from 779e79d to af7ea8a Compare June 15, 2026 20:19
Mechanical refactor: rename *Config -> *Mechanism, use gdp_sigma as
the public natural parameter, and thread an explicit numpy rng through
all mechanism calls.

PiperOrigin-RevId: 933046980
@copybara-service copybara-service Bot merged commit 15e158d into main Jun 16, 2026
@copybara-service copybara-service Bot deleted the cl/932619652 branch June 16, 2026 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants